package cn.mehoyo.certificateGeneration.controller;

import cn.mehoyo.certificateGeneration.entity.CertificateResult;
import cn.mehoyo.certificateGeneration.entity.DnsChallengeInfo;
import cn.mehoyo.certificateGeneration.enums.ACME;
import cn.mehoyo.certificateGeneration.service.CertificateService;
import org.noear.solon.annotation.*;
import org.noear.solon.core.handle.Context;

import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;

/**
 * 生成域名证书接口
 * @author llh
 */
@Controller
public class PageController {
    @Get
    @Mapping("/")
    public void index(Context context){
        context.redirect("/index.html");
    }
}

